package com.guodu.service;

import java.util.List;

import com.guodu.entity.PurchasingInformation;
import com.guodu.entity.PurchasinginforStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchasingInformationQueryVo;
import com.guodu.vo.PurchasingInformationVo;

public interface PurchasingInformationService {
     
	PurchasingInformationVo findAllMoney(PurchasingInformationQueryVo pbpq, Units units,UserInfo userInfo);
	long findSizeByVo(PurchasingInformationQueryVo pbpq, Units units,UserInfo userInfo);

	public void examinAll(PurchasingInformationQueryVo pbpq, Units units,UserInfo userInfo);
	
	List<PurchasingInformationVo> findByVo(PurchasingInformationQueryVo piq,Units units,UserInfo userInfo, int curPage, int pageSize);

	void save(PurchasingInformation purchasingInformation);

	PurchasingInformation findById(String purchaseId);

	void update(PurchasingInformation purchasingInformation, Long status);

	List<PurchasinginforStatus> findStatus(String purchaseId);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	void delByIds(String[] delIds);

	List<PurchasingInformation> findAllByVo(PurchasingInformationQueryVo piq,
			Units attribute,UserInfo userInfo);

}
